package com.gzm.check.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gzm.check.entity.BackupLisTest;
import com.gzm.check.entity.LisTestReport;
import com.gzm.check.mapper.BackupLisTestMapper;
import com.gzm.check.service.IBackupLisTestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 检验报告-增量更新备份表 服务实现类
 * </p>
 *
 * @author gzm
 * @since 2021-03-19
 */
@Service
@DS("db1")
public class BackupLisTestServiceImpl extends ServiceImpl<BackupLisTestMapper, BackupLisTest> implements IBackupLisTestService {

    @Resource
    private BackupLisTestMapper backupLisTestMapper;
    @Override
    public int insertSelective(LisTestReport lisTestReport) {
        return backupLisTestMapper.insertSelective(lisTestReport);
    }
}
